package com.example.flashsales.entity.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 订单的实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Order {

  //订单id
  private long id;
  //用户id
  private long userId;
  //订单创建时间
  private java.sql.Timestamp createOrderTime;
  //下单金额
  private double orderMoney;
  //商品到达时间
  private java.sql.Timestamp arriveTime;
  //取货店家id
  private long storeId;
  //状态 0送达小店 1未送达小店  2已收货 3已分拣 4已下单未支付 5确任收货 6已付款未分拣
  private long state;
  //退款金额
  private double returnMoney;
  //实际支付金额
  private double payMoney;
  //支付方式0 余额 1 支付宝 2 微信 3 支付宝加余额 4 微信加余额
  private long method;





}
